<%@ include file="/taglibs.jsp"%>
<s:if test="%{processes.isEmpty}">
	<tr class="empty"><td colspan="5"><s:text name="basic.msg.empty_list"></s:text> </td></tr>
</s:if>

<s:iterator value="processes" var="process">
<tr>
	<td>
		<s:property value="status"/>
	</td>
	<td width="90px">
		<input type="hidden" name="processStatus" value="${process.id}">
		<a href="javascript:void(0)" class="add"><img src="${ctx}/images/btn_select.png" width="20"></a>		    	
	</td>
</tr>
</s:iterator>

<script type="text/javascript">

$('.add').click(addHandler);
$('.rm').click(rmHandler);
$('.up,.down').click(upDownHandler);
$('.lineDept').live('click', function(){$('input[name="lineDept"]').val('false'); $(this).prev().val('true');});
</script>